{extend name="base_user" /}
{block name="header_top"}
{include file="header-top" /}
{/block}
{block name="body"}
<div class="width-out clearfix">
    <div class="help-sidebar">
        {include file="user_left" /}
    </div>

    <div class="help-container">
        <div class="border-bottom mb-2">
            <h5>个人信息</h5>
        </div>
        <div class="help-tab-content tab-content py-3 px-3 font-14 text-dark">
            <div class="tab-pane fade active show">

                <form class="el-form" action="{:url('/user/info')}" method="post">

                    <div class="el-form-item">
                        <label class="el-form-item__label" style="width: 100px;">昵称</label>
                        <div class="el-form-item__content" style="margin-left: 100px;">
                            <div class="el-input">
                                <input type="text" value="{$user_info.nickname}"  name="nickname" autocomplete="off" class="el-input__inner">
                            </div>
                        </div>
                    </div>
                    <div class="el-form-item">
                        <label class="el-form-item__label" style="width: 100px;">手机号</label>
                        <div class="el-form-item__content" style="margin-left: 100px;">
                            <div class="el-input">
                                <input type="text" disabled value="{$user_info.phone}" name="phone" autocomplete="off" class="el-input__inner">
                            </div>
                        </div>
                    </div>
                    <div class="el-form-item">
                        <label class="el-form-item__label" style="width: 100px;">姓名</label>
                        <div class="el-form-item__content" style="margin-left: 100px;">
                            <div class="el-input">
                                <input type="text" value="{$user_info.realname}" name="realname" autocomplete="off" class="el-input__inner">
                            </div>
                        </div>
                    </div>
                    <div class="el-form-item">
                        <label class="el-form-item__label" style="width: 100px;">身份证号码</label>
                        <div class="el-form-item__content" style="margin-left: 100px;">
                            <div class="el-input">
                                <input type="text" value="{$user_info.idcard}" name="idcard" autocomplete="off" class="el-input__inner">
                            </div>
                        </div>
                    </div>
                    <div class="el-form-item" style="margin-top: 10px;">
                        <div class="el-form-item__content" style="margin-left: 100px;">
                            <button type="submit" class="el-button el-button--danger" style="margin-left: 10px; margin-top: 20px; width: 210px; height: 44px;"><span>保存</span></button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
{/block}